<?php

/**
* FileName: mod_ezskype.php
* Date: 16-12-2005
* License: GNU General Public License
* Script Version #: 1.0
* Author: K.J. Strickland - http://www.justjoomla.com
**/

/** ensure this file is being included by a parent file */
// no direct access
defined( '_VALID_MOS' ) or die( 'Restricted access' );

global $mosConfig_live_site, $mosConfig_absolute_path, $cur_template;


$callsign        = $params->get( 'callsign' ) ;
$callsign_image  = $params->get( 'callsign_image' ) ;


	// EZ Skype image and link stuff
		$img = mosAdminMenus::ImageCheck( 'call_green_transparent_70x23.png', '/modules/mod_ezskype/', $callsign_image, '/modules/mod_ezskype/' );
		?>

		<script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>
		<div class="moduletable">
		    <table>
			    <tr>
				    <td>
					<a href="skype:<?php echo $callsign; ?>?call" onclick="return skypeCheck();">
					<?php echo $img ?></a>
					</td>
				</tr>
			</table>
		</div>
